package com.zmn.oms.business.interfaces.part;

import com.zmn.base.oms.common.model.es.orderpart.EsOrderPart;
import com.zmn.oms.model.dto.part.PartSumDTO;
import com.zmn.oms.model.entity.part.OrderPartEsQuery;

import java.util.List;

/**
 * 类描述：订单配件列表查询
 * @author  lujia
 * @date   2018-12-28 19:29:14
 */
public interface OrderPartListBService {

	/**
	 * 订单配件分页查询
	 * @param query 订单配件查询条件
	 * @return 订单配件列表
	 */
	List<EsOrderPart> listPageOrderPartByQuery(OrderPartEsQuery query);

	/**
	 * 查询工单配件汇总数据
	 * @param query
	 * @return
	 */
	PartSumDTO totalOrderPartByQuery(OrderPartEsQuery query);
}
